package com.example.Activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.training.R;

public class MainActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_activity);
    }
    public void SearchFiles(View view){
        Intent intent = new Intent(this, FileSearchActivity.class);
        startActivity(intent);
    }

    public void BrowseFile(View view){
        Intent intent = new Intent(this, FileListActivity.class);
        intent.putExtra("path", "/");
        startActivity(intent);
    }

    public void SearchOnlineDisk(View view){
        Intent intent = new Intent(this, OnlineDiskSearchActivity.class);
        startActivity(intent);
    }
}
